package com.ihr360.payroll.service.salarytasklet.model;

import com.ihr360.commons.data.util.Pair;
import com.ihr360.payroll.calc.StaffSalaryCalcPeriod;
import com.ihr360.payroll.model.dto.salary.embeddable.RefServiceStatistics;
import com.ihr360.payroll.model.dto.salary.task.period.StaffPayPeriodTermCalcContext;

import java.util.List;

/**
 *  @author davidwei
 * 取数结果
 */
public class PreSalaryCalcProcessedResult {
    private List<Pair<StaffPayPeriodTermCalcContext, StaffSalaryCalcPeriod>> staffContext;
    private Long termId;
    private RefServiceStatistics refServiceStatistics;

    public PreSalaryCalcProcessedResult(List<Pair<StaffPayPeriodTermCalcContext, StaffSalaryCalcPeriod>> staffContext, Long termId, RefServiceStatistics refServiceStatistics) {
        this.staffContext = staffContext;
        this.termId = termId;
        this.refServiceStatistics = refServiceStatistics;
    }

    public List<Pair<StaffPayPeriodTermCalcContext, StaffSalaryCalcPeriod>> getStaffContext() {
        return staffContext;
    }

    public Long getTermId() {
        return termId;
    }

    public RefServiceStatistics getRefServiceStatistics() {
        return refServiceStatistics;
    }
}